<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <!-- 引入 Bootstrap在线cdn -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="row clearfix" style="text-align: center">
    <div class="page-header">
        <h1>
            <small>注册中心</small>
        </h1>
    </div>
</div>

<div align="center">
    <form action="/user/registerUser" method="post" style="width: 30%">
        <div class="form-group">
            <label for="username">用户名</label><br>
            <input type="text" class="form-control" id="username" maxlength="10" name="username" placeholder="请输入注册的用户名"
                   required/>
            <br>
        </div>

        <div class="form-group">
            <label for="password">登录密码</label><br>
            <input type="password" class="form-control" maxlength="16" id="password" name="password"
                   placeholder="请输入注册的密码" required/><br>
        </div>

        <div class="form-group">
            <label for="email">邮箱地址</label><br>
            <input type="email" class="form-control" id="email" name="useremail" placeholder="请输入可接收邮件的邮箱" required><br>
        </div>


        <input type="submit" class="btn btn-primary" value="确认注册" onclick="return confirm('确认注册吗?')"/>
    </form>
</div>

<div class="row clearfix" style="text-align: center">
    <br>
    <a href="/user/loginPage" class="btn btn-warning">去登录页面</a>
</div>

</body>
</html>